Returns as an Integer the height of the text based on the current font and fontsize (pixels) and the passed WrapWidth (also in pixels). The WrapWidth parameter specifies the width (in pixels) at which text should wrap.
Syntax |
|---|
|
result = Graphics.StringHeight( Text, WrapWidth ) |
Parameters |
|
|---|---|
|
Text |
|
|
WrapWidth |
|
Return Value |
|
|---|---|
|
Result |
|